<div class="select-box">
  <div class="select-top">
    <p [ngClass]="{'active': statusActive==0}" (click)="selectStatus(0)">{{selectData.status.name || '状态'}} <span></span></p>
    <p [ngClass]="{'active': statusActive==1}" (click)="selectStatus(1)">{{selectData.type.name || '类型'}} <span></span></p>
  </div>
   <div class="select-content" *ngIf="statusActive==0">
       <p *ngFor="let item of statusList ; let i = index;" [ngClass]="{'active': dataIndex0==i}" (click)="chooseDataIndex(item.value ,i ,item.name)">{{item.name}}</p>
   </div>
  <div class="select-content" *ngIf=" statusActive==1">
       <p *ngFor="let item of typeList; let i = index;" [ngClass]="{'active': dataIndex1==i}" (click)="chooseDataIndex(item.value ,i ,item.name)">{{item.name}}</p>
   </div>
</div>
